using System;
using UnityEngine;
using QFramework;

namespace XCZProject
{
	/// <summary>
	/// 超级炸弹，如果开启了超级炸弹模式，则会每隔N秒炸一次
	/// </summary>
	public partial class SuperBomb : ViewController
	{

		private float mCurrentSeconds = 0;

		private void Update()
		{
			mCurrentSeconds += Time.deltaTime;
			if (mCurrentSeconds>=10)
			{
				mCurrentSeconds = 0;
				Bomb.Excute();
			}
		}
	}
}
